package com.rtos.model.cpu.registers;

import lombok.Data;

/**
 * @Author: biubiu0002
 * @Date: 2021-08-30 23:33
 **/
public abstract class AbstractRegister {
    public byte buffer = 0;

    public byte getBuffer(){
        return buffer;
    }

    public void setBuffer(byte buf){
        buffer=buf;
    }

    public void setBuffer(int buf){
        buffer=(byte)buf;
    }
}
